XULRUNNER_HOME=$HOME/xulrunner-sdk
DOWNLOADBINNING_HOME=$HOME/downloadbinning

$XULRUNNER_HOME/bin/xpidl -m typelib -w -v -I $XULRUNNER_HOME/idl -e $DOWNLOADBINNING_HOME/components/DownloadBinning.xpt $DOWNLOADBINNING_HOME/components/DownloadBinning.idl
$XULRUNNER_HOME/bin/xpidl -m typelib -w -v -I $XULRUNNER_HOME/idl -e $DOWNLOADBINNING_HOME/components/DownloadBinningRule.xpt $DOWNLOADBINNING_HOME/components/DownloadBinningRule.idl

#PROFILE_NAME=jgvh3snv.default
#PROFILE_DIR=$HOME/Library/Application Support/Firefox/Profiles/$PROFILE_NAME
#EXTENSION_DIR=$HOME/Library/Application Support/Firefox/Profiles/$PROFILE_NAME/extensions

# Remove compreg.dat and xpti.dat
#rm $PROFILE_DIR/compreg.dat
#rm $PROFILE_DIR/xpti.dat
